package gui;


import java.awt.Dimension;
import java.io.*;

import javax.swing.JFrame;

import weka.core.Instances;

/**
 * Exemplo simples de visualiza��o com coordenadas paralelas .
 */
public class ExemploPC1 {
	public static void main(String[] args) throws IOException {
		// Usaremos a base iris . arff .
		FileReader reader = new FileReader("C:\\Users\\Kenelly\\workspace\\projeto-agentes\\file\\tabelaDengueFinalFilter.arff");
		Instances instances = new Instances(reader);
		// Criamos o componente com as inst�ncias , sem normaliza��o global ,
		// usando cores diferentes
		// e sem " wiggle ".
		ParallelCoordinatesComponent component = new ParallelCoordinatesComponent(
				instances, false, true, 0);
		component.setPreferredSize(new Dimension(1024, 500));
		// Montamos a UI para visualizar o componente .
		
		
		JFrame frame = new JFrame(" Parallel Coordinates ");
		frame.getContentPane().add(component);
		frame.pack();
		frame.setVisible(true);
		frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
	}

}